package com.bdqn.Text;

import com.bdqn.dao.BaseDao;

import javax.xml.transform.Result;
import java.sql.ResultSet;

public class Text_JDBC {
    public static void main(String[] args) throws Exception {
        /*ResultSet set=BaseDao.getResultSet("select * from newtable",new Object[]{});
        while (set.next())
        {
            System.out.p7hrintln(set.getString("title"));
        }
        BaseDao.close();*/

        int a=BaseDao.update("insert into newtable(title) value(?)",new Object[]{"标题99"});
        System.out.println(a);
    }
}
